<?php


class CommonController extends BaseController{

   function __construct()
   {

   }

    public function checkLogin(){
       if(!isset($_SESSION['uid']) || !$_SESSION['uid']){
           $this->error('清先登录','user/login');
       }
    }

    

}

